import random

def generate_input(length=10, value_range=(-100, 100)):
    return [random.randint(*value_range) for _ in range(length)]

if __name__ == "__main__":
    nums = generate_input()
    print("测试输入 nums =", nums)
